home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / INTERNET / AD.ZIP / README.TXT < prev    next >
Encoding:
Text File  |  1996-04-29  |  5.9 KB  |  132 lines

  1. *****************************************************************
  2. *                                                               *
  3. *                             Ad(F1.5)                          *
  4. *                            Java Applet                        *
  5. *                         Written by Mark Qian                  *
  6. *                                                               *
  7. *****************************************************************
  8.  
  9.    
  10.  
  11.  
  12. Ad is a JAVA appelt written by Mark Qian. It displays an user-specified
  13. scrolling window with sound.  Images are switch in a variety of styles
  14. (15 styles)in a user-specified period. Each user-specified image can be 
  15. assigned an URL so that Ad open the URL when the corresponding image is 
  16. clicked. It plays a user-specified sound(an au file) when mouse cursor 
  17. moves over the applet area.     
  18.  
  19. PARAMETERS:
  20. ==========
  21.          RegistrationCode - Code that enable following features
  22.          speed       - the speed of animation.
  23.          animatemode - 0 images are always scrolled.
  24.                        1 images are scrolled only when mouse cursor within AD   
  25.                        2 stop scrolling  when mouse cursor within AD  
  26.          peroid      - The period between scrolling                               
  27.          withURL     - Set to 1 if you like to open an URL when clicking at a image.
  28.                        Otherwise, you can set it to 0 and ignore on_click parameters.
  29.          imgname     - the names of image files. 
  30.          dir         - the subdirectory where image files reside 
  31.          nimgs       - number of images used for animation.  
  32.          audiofile   - the audio file that should reside in
  33.                        the directory where the applet resides.
  34.          on_click1 ...
  35.          on_clickn   - The URLs to be opened when corresponding image is clicked
  36.          image1...
  37.          imagen      - Images to be displayed by AD
  38.            
  39.             
  40.             
  41.  
  42. INSTALLATION:
  43. ============           
  44.           
  45. If you are a webmaster or experienced person, just follow the brief
  46. instructions below. 
  47.  
  48. IMPORTANT:
  49. =========
  50.    
  51.    *********************************************************************************
  52.    *                                                                               *
  53.    *   If you are NOT familiar with Java applet installation an Unix environment,  *
  54.    *   Please follow the detail instructions in                                    *
  55.    *                                                                               *
  56.    *   http://ourworld.compuserve.com/homepages/mark_qian                          *
  57.    *                                                                               *
  58.    *   to install it.  Don't try it youself.                                       *
  59.    *                                                                               *
  60.    *********************************************************************************
  61.  
  62.  
  63.  
  64. BRIEF INSTRUCTIONS (for experienced people only):
  65. ==================
  66.   
  67.   0). Unzip AD.zip in your local machine (you had done this step).
  68.   
  69.   
  70.   1). Rename class files. Because PKUNZIP will extract the
  71.       class file, ad.class, to ADC377~1.CLA,  you have to RENAME 
  72.       the class file to ad.class.  Similarly, rename LOADIM~1.CLA
  73.       to loadimage.class. NOTE: They are case sensitive and name of 
  74.       the second class is loadimage.class instead of load.class
  75.       nor loading.class.           
  76.   
  77.   2). Open TEST_AD.HTM with your browser locally. If it works locally,
  78.       go to next step.  Otherwise, go to Mark's home page for detail
  79.       instructions.
  80.       
  81.   3). Try TEST_AD.HTM online(Ignore this step if you think that you 
  82.       REALLY know what to do). 
  83.   
  84.          - place ad.class and loadimage.class in the place you want in your server.
  85.            (FTP program may change ad.class to ad.cla. Rename class files
  86.             if needed).
  87.          - place TEST_AD.HTM, Ad*.GIF, and LAUGH.AU to the same directory
  88.          - change access attributes of all the files above to readable(744)
  89.          - Browse TEST_AD.HTM from your local machine
  90.          
  91.       If it works, go to next step.  Otherwise Go to Mark's page for instructions.
  92.          
  93.    
  94.    4).Use your own stuff
  95.          
  96.          - add following HTML statements into your HTML's body  
  97.  
  98.            <center>
  99.            <applet code="ad.class" width=403 height=90>
  100.            <param name=RegistrationCode value="f1.1-34957">
  101.            <param name=animatemode value="0">    
  102.            <param name=speed value="9">    
  103.            <param name=peroid value="2">  
  104.            <param name=withURL value="1">  
  105.            <param name=audiofile value="LAUGH.AU"> 
  106.            <param name=nimgs value="5"> 
  107.            <param name=on_click1 value="http://www.aimnet.com/~markqian/HOMEPAGE.HTM"> 
  108.            <param name=on_click2 value="http://www.aimnet.com/~markqian/JAVAZOO.HTM"> 
  109.            <param name=on_click3 value="http://www.aimnet.com/~markqian/SCREENSA.HTM"> 
  110.            <param name=on_click4 value="http://www.aimnet.com/~markqian/mark.html"> 
  111.            <param name=on_click5 value="http://www.aimnet.com/~markqian/APP_AD.HTM"> 
  112.            <param name=image1 value="AD1.GIF"> 
  113.            <param name=image2 value="AD2.GIF"> 
  114.            <param name=image3 value="AD3.GIF"> 
  115.            <param name=image4 value="AD4.GIF"> 
  116.            <param name=image5 value="AD5.GIF"> 
  117.            </applet> 
  118.            </center> 
  119.   
  120.   
  121.       - replace parametes such as "on_click", "image", "audiofile" with your stuff.
  122.   
  123.   
  124.   5). If it works, enjoy it!! (If you like to do its hard-working author a favor, Drop him an 
  125.       Email to let Mark know It runs OK).  Otherwise, go to Mark's page for detail instructions
  126.       of troubleshooting.
  127.  
  128.  
  129.     
  130. Go Mark's Home Page(http://ourworld.compuserve.com/homepages/mark_qian") to see more exciting applets!
  131.  
  132.